package com.peakproducts;


import java.util.Hashtable;

import net.rim.device.api.ui.component.BasicEditField;
import net.rim.device.api.ui.component.ObjectChoiceField;
import net.rim.device.api.ui.component.RadioButtonField;


public class UpdateFields {
	private Hashtable fieldList = new Hashtable();
	public UpdateFields()
	{
		getFieldList().clear();
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_4 = new RadioButtonField("Contractor rejected ");//
		String[] filed_4_choice = {"Customer does not want to meet with sales representative","Customer out of service area","Other","Service requested is not provided"};
		ObjectChoiceField field_4 = new ObjectChoiceField("Reason for reject:",filed_4_choice);
		getFieldList().put("4", radio_4);
		getFieldList().put("4_field", field_4);
		getFieldList().put("4_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_5 = new RadioButtonField("Customer contacted ");
		BasicEditField field_5 = new BasicEditField(" Appointment date:","");
		getFieldList().put("5", radio_5);
		getFieldList().put("5_field", field_5);
		getFieldList().put("5_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_6 = new RadioButtonField("Quote given ");
		BasicEditField field_6 = new BasicEditField("Quoted amount:","0");
		BasicEditField field_6_1 = new BasicEditField("Follow up date:","");
		getFieldList().put("6_length", "2");
		getFieldList().put("6", radio_6);
		getFieldList().put("6_field", field_6);
		getFieldList().put("6_field_1", field_6_1);
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_9 = new RadioButtonField("Customer cancelled");//
		String[] filed_9_choice = {"Customer will not return calls","Changed mind","Customers chose competitor","Not ready to start the job yet","Customer is ill","Did not book","Duplicated lead","Not home","Time not convenient","Cannot afford","Out of town","Renovation","Estimate only","Customer find it too expensive"};
		ObjectChoiceField field_9 = new ObjectChoiceField("Reason cancelled:",filed_9_choice);
		getFieldList().put("9", radio_9);
		getFieldList().put("9_field", field_9);
		getFieldList().put("9_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_13 = new RadioButtonField("Installation complete");//
		getFieldList().put("13", radio_13);
		getFieldList().put("13_length", "-1");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_14 = new RadioButtonField("Job sold");//
		BasicEditField field_14 = new BasicEditField("Job Sold Date:","");
		BasicEditField field_14_1 = new BasicEditField("Amount sold:","");
		BasicEditField field_14_2 = new BasicEditField("G.S.T./H.S.T.:","");
		BasicEditField field_14_3 = new BasicEditField("P.S.T./Q.S.T.:","");
		BasicEditField field_14_4 = new BasicEditField("Estimated start date:","");
		BasicEditField field_14_5 = new BasicEditField("Estimated completion date:","");
		getFieldList().put("14", radio_14);
		getFieldList().put("14_field", field_14);
		getFieldList().put("14_field_1", field_14_1);
		getFieldList().put("14_field_2", field_14_2);
		getFieldList().put("14_field_3", field_14_3);
		getFieldList().put("14_field_4", field_14_4);
		getFieldList().put("14_field_5", field_14_5);
		getFieldList().put("14_length", "6");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_18 = new RadioButtonField("Left voice message for customer  ");
		BasicEditField field_18 = new BasicEditField("Follow up date:","");
		getFieldList().put("18", radio_18);
		getFieldList().put("18_field", field_18);
		getFieldList().put("18_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_19 = new RadioButtonField("Pending");
		BasicEditField field_19 = new BasicEditField("Follow up date:","");
		getFieldList().put("19", radio_19);
		getFieldList().put("19_field", field_19);
		getFieldList().put("19_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_20 = new RadioButtonField("Customer resumed cancelled lead");
		BasicEditField field_20 = new BasicEditField("Appointment date:","");
		getFieldList().put("20", radio_20);
		getFieldList().put("20_field", field_20);
		getFieldList().put("20_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_21 = new RadioButtonField("Sales appointment ");
		BasicEditField field_21 = new BasicEditField("Appointment date:","");
		getFieldList().put("21", radio_21);
		getFieldList().put("21_field", field_21);
		getFieldList().put("21_length", "0");
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_22 = new RadioButtonField("Quote given ");
		BasicEditField field_22 = new BasicEditField("Quoted amount:","0");
		BasicEditField field_22_1 = new BasicEditField("Follow up date:","");
		getFieldList().put("22_length", "2");
		getFieldList().put("22", radio_22);
		getFieldList().put("22_field", field_22);
		getFieldList().put("22_field_1", field_22_1);
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_23 = new RadioButtonField("Measure appointment");
		BasicEditField field_23 = new BasicEditField("Appointment date:","");
		getFieldList().put("23_length", "0");
		getFieldList().put("23", radio_23);
		getFieldList().put("23_field", field_23);
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_33 = new RadioButtonField("Service request to manufacturer");
		BasicEditField field_33 = new BasicEditField("Service request date:","");
		getFieldList().put("33_length", "0");
		getFieldList().put("33", radio_33);
		getFieldList().put("33_field", field_33);
		//----------------------------------------------------------------------------------------------
		RadioButtonField radio_34 = new RadioButtonField("Service request to manufacturer complete ");
		BasicEditField field_34 = new BasicEditField("Actual completion date:","");
		getFieldList().put("34_length", "0");
		getFieldList().put("34", radio_34);
		getFieldList().put("34_field", field_34);
		//----------------------------------------------------------------------------------------------

	}
	public void setFieldList(Hashtable fieldList) {
		this.fieldList = fieldList;
	}
	public Hashtable getFieldList() {
		return fieldList;
	}
}
